xend: Actually restrict a domU's access to xenstore when we mean to --
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 18 Dec 2008 17:18:28 +0000 (17:18 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 18 Dec 2008 17:18:28 +0000 (17:18 +0000)
commit1e5e52220face08873ad8e2b3e04b8260c5661a9
tree60c15a1b7e6acdfb65e7259bafd61ac73432c48b
parent68e3bd7b77710a7a1ee9e5c3b652d78edde48846
xend: Actually restrict a domU's access to xenstore when we mean to --
this means that in some cases it cannot be owner of its own xenstore
nodes.

This bug was pointed out by Daniel Berrange at Red Hat. This patch is
my own more generic fix that automatically covers a range of callers
(albeit the patch is arguably a bit of a hack ;-).

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/python/xen/lowlevel/xs/xs.c